<?php

import_request_variables("gp");
extract($_SERVER);

include "config.inc.php";

$baseurl = "$websiteURL";
$base_url = "$baseurl";
$base_url2 = "$websiteURL2";
$webmaster = "<a href=mailto:$webmasterEmail>$webmasterEmail</a>";
if ($game == "") { $game = 1; }

$date = date("U"); // TIMESTAMP
$timestamp = $date;
$minute = date("i", $date);        // MINUTE 00-59
$hour = date("H", $date);          // HOUR 00-23
$today = date("j",$date);          // DAY 1-31
$today2 = date("d",$date);         // DAY 01-31
$today3 = date("w",$date) + 1;     // DAY 0 (sunday) - 6 (saturday) + 1
$this_week = date("W",$date);      // WEEK 0-52
$this_month = date("n",$date);     // MONTH 1-12
$this_month2 = date("m",$date);    // MONTH 01-12
$this_year = date("Y",$date);      // YEAR YYYY
$datestamp = date("Ymd",$date);    // DATE STAMP YYYYmmdd
$timestamp2 = date("H:i:s",$date); // TIME STAMP HH:ii:ss - HOUR:MINUTE:SECOND
$datestamp2 = date("M j",$date);   // DATE STAMP Mon DD
$datestamp3 = date("m-j-",$date);  // DATE STAMP mm-jj-
$datestamp4 = date("m-d-",$date);  // DATE STAMP mm-dd-

$HTTP_REFERER = eregi_replace("www.", "", $HTTP_REFERER);

?>